﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Properties;
using IngressApp.DAC;

namespace IngressApp.BC
{
    public class BCDelete
    {
        public string delEmpleado(int Id)
        {
            DACDelete del = new DACDelete();
            if (del.deleteEmpleado(Id) == true)
                return "succes";
            else
                return "failed";
        }
        public string delRegistro(int Id)
        {
            DACDelete del = new DACDelete();
            if (del.deleteEmpleado(Id) == true)
                return "succes";
            else
                return "failed";
        }
        public string delEmpleadoHuella(int Id)
        {
            DACDelete del = new DACDelete();
            if (del.deleteEmpleado(Id) == true)
                return "succes";
            else
                return "failed";
        }
        public string delTipoHuella(int Id)
        {
            DACDelete del = new DACDelete();
            if (del.deleteEmpleado(Id) == true)
                return "succes";
            else
                return "failed";
        }
    }
}
